package com.common.exception.users;

import com.common.exception.GlobalException;

public class SmsException extends GlobalException {

    public static final String SMS_CODE_DEFAULT = "验证码异常，请稍后重试";
    public static final String SMS_CODE_ERROR = "验证码错误";
    public static final String SMS_CODE_NULL = "验证码为空";
    public static final String SMS_CODE_EXPIRED = "验证码已过期";


    public SmsException() {
        super(SMS_CODE_DEFAULT);
    }

    public SmsException(String message) {
        super(message);
    }
}
